import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);
export default new Router({
    routes: [
        // { path: '/', component: resolve => require(['../components/common/Home.vue'], resolve) },
        { path: '/', redirect: '/boss' },
        { path: '/login', component: resolve => require(['../components/page/Login.vue'], resolve) },
        {
            path: '/boss',
            redirect: '/check/publish/list',
            component: resolve => require(['../components/common/Home.vue'], resolve),
            meta: { title: '总部菜单' },
            children: [{
                    path: '/index/helpCenter/list',
                    component: resolve => require(['../views/index/helpCenter/list.vue'], resolve),
                    meta: { title: '帮助中心' }
                },
                {
                    path: '/index/helpCenter/details',
                    component: resolve => require(['../views/index/helpCenter/details.vue'], resolve),
                    meta: { title: '问答详情' }
                },
                {
                    path: '/index/helpCenter/add',
                    component: resolve => require(['../views/index/helpCenter/add.vue'], resolve),
                    meta: { title: '新增帮助' }
                },
                {
                    path: '/index/helpCenter/edit',
                    component: resolve => require(['../views/index/helpCenter/edit.vue'], resolve),
                    meta: { title: '编辑帮助' }
                },
                {
                    path: '/index/storyMemory/list',
                    component: resolve => require(['../views/index/storyMemory/list.vue'], resolve),
                    meta: { title: '故事与回忆列表' }
                },
                {
                    path: '/index/storyMemory/details',
                    component: resolve => require(['../views/index/storyMemory/details.vue'], resolve),
                    meta: { title: '故事与回忆详情' }
                },
                {
                    path: '/index/storyMemory/add',
                    component: resolve => require(['../views/index/storyMemory/add.vue'], resolve),
                    meta: { title: '发布故事与回忆' }
                },
                {
                    path: '/index/storyMemory/ads',
                    component: resolve => require(['../views/index/storyMemory/ads.vue'], resolve),
                    meta: { title: '故事与回忆详情广告' }
                },
                {
                    path: '/index/storyMemory/edit',
                    component: resolve => require(['../views/index/storyMemory/edit.vue'], resolve),
                    meta: { title: '编辑故事与回忆' }
                },
                {
                    path: '/index/app/list',
                    component: resolve => require(['../views/index/app/list.vue'], resolve),
                    meta: { title: 'app管理列表' }
                },
                {
                    path: '/index/banner/list',
                    component: resolve => require(['../views/index/banner/list.vue'], resolve),
                    meta: { title: '首页轮播图列表' }
                },
                {
                    path: '/index/ads/list',
                    component: resolve => require(['../views/index/ads/list.vue'], resolve),
                    meta: { title: '首页广告位列表' }
                },
                {
                    path: '/school',
                    component: resolve => require(['../views/school/list.vue'], resolve),
                    meta: { title: '学院列表' }
                },
                {
                    path: '/school/add',
                    component: resolve => require(['../views/school/add.vue'], resolve),
                    meta: { title: '新增学院' }
                },
                {
                    path: '/school/edit',
                    component: resolve => require(['../views/school/edit.vue'], resolve),
                    meta: { title: '编辑学院' }
                },
                {
                    path: '/school/news',
                    component: resolve => require(['../views/school/news.vue'], resolve),
                    meta: { title: '学院资讯列表' }
                },
                {
                    path: '/school/news/edit',
                    component: resolve => require(['../views/school/newsEdit.vue'], resolve),
                    meta: { title: '编辑学院资讯' }
                },
                {
                    path: '/school/news/add',
                    component: resolve => require(['../views/school/newsAdd.vue'], resolve),
                    meta: { title: '发布学院资讯' }
                },
                {
                    path: '/school/news/select',
                    component: resolve => require(['../views/school/newsSelect.vue'], resolve),
                    meta: { title: '查看学院资讯' }
                },
                {
                    path: '/school/banner/list',
                    component: resolve => require(['../views/school/banner/list.vue'], resolve),
                    meta: { title: '学院轮播图列表' }
                },
                {
                    path: '/school/ads/list',
                    component: resolve => require(['../views/school/ads/list.vue'], resolve),
                    meta: { title: '学院详情广告' }
                },
                {
                    path: '/substation',
                    component: resolve => require(['../views/substation/list.vue'], resolve),
                    meta: { title: '分站列表' }
                },
                {
                    path: '/substation/add',
                    component: resolve => require(['../views/substation/add.vue'], resolve),
                    meta: { title: '新增分站' }
                },
                {
                    path: '/substation/edit',
                    component: resolve => require(['../views/substation/edit.vue'], resolve),
                    meta: { title: '编辑分站' }
                },
                {
                    path: '/substation/accountList',
                    component: resolve => require(['../views/substation/accountList.vue'], resolve),
                    meta: { title: '分站账号列表' }
                },
                {
                    path: '/media',
                    component: resolve => require(['../views/media/list.vue'], resolve),
                    meta: { title: '媒体列表' }
                },
                {
                    path: '/media/add',
                    component: resolve => require(['../views/media/add.vue'], resolve),
                    meta: { title: '新增媒体' }
                },
                {
                    path: '/media/edit',
                    component: resolve => require(['../views/media/edit.vue'], resolve),
                    meta: { title: '新增媒体' }
                },
                {
                    path: '/media/newslist',
                    component: resolve => require(['../views/media/newslist.vue'], resolve),
                    meta: { title: '媒体资讯列表' }
                },
                {
                    path: '/media/newslist/add',
                    component: resolve => require(['../views/media/newsadd.vue'], resolve),
                    meta: { title: '新增媒体资讯' }
                },
                {
                    path: '/media/newslist/edit',
                    component: resolve => require(['../views/media/newsedit.vue'], resolve),
                    meta: { title: '编辑媒体资讯' }
                },
                {
                    path: '/media/newslist/watch',
                    component: resolve => require(['../views/media/newswatch.vue'], resolve),
                    meta: { title: '查看媒体资讯' }
                },
                {
                    path: '/media/ads/list',
                    component: resolve => require(['../views/media/ads/list.vue'], resolve),
                    meta: { title: '媒体详情广告' }
                },
                {
                    path: '/media/banner/list',
                    component: resolve => require(['../views/media/banner/list.vue'], resolve),
                    meta: { title: '媒体轮播图列表' }
                },
                {
                    path: '/association',
                    component: resolve => require(['../views/association/association.vue'], resolve),
                    meta: { title: '协会列表' }
                },
                {
                    path: '/association/add',
                    component: resolve => require(['../views/association/add.vue'], resolve),
                    meta: { title: '添加协会' }
                },
                {
                    path: '/association/edit',
                    component: resolve => require(['../views/association/edit.vue'], resolve),
                    meta: { title: '编辑协会' }
                },
                {
                    path: '/association/newslist',
                    component: resolve => require(['../views/association/newslist.vue'], resolve),
                    meta: { title: '协会资讯列表' }
                },
                {
                    path: '/association/newslistadd',
                    component: resolve => require(['../views/association/newslistadd.vue'], resolve),
                    meta: { title: '新增协会资讯' }
                },
                {
                    path: '/association/newslistedit',
                    component: resolve => require(['../views/association/newslistedit.vue'], resolve),
                    meta: { title: '编辑协会资讯' }
                },
                {
                    path: '/association/newslistwatch',
                    component: resolve => require(['../views/association/newslistwatch.vue'], resolve),
                    meta: { title: '查看协会资讯' }
                },
                {
                    path: '/association/banner/list',
                    component: resolve => require(['../views/association/banner/list.vue'], resolve),
                    meta: { title: '协会轮播图列表' }
                },
                {
                    path: '/association/ads/list',
                    component: resolve => require(['../views/association/ads/list.vue'], resolve),
                    meta: { title: '协会详情广告' }
                },
                {
                    path: '/exbtion',
                    component: resolve => require(['../views/exbtion/exblist.vue'], resolve),
                    meta: { title: '展会列表' }
                },
                {
                    path: '/exbtion/add',
                    component: resolve => require(['../views/exbtion/add.vue'], resolve),
                    meta: { title: '新增展会' }
                },
                {
                    path: '/exbtion/edit',
                    component: resolve => require(['../views/exbtion/edit.vue'], resolve),
                    meta: { title: '编辑展会' }
                },
                {
                    path: '/exbtion/watch',
                    component: resolve => require(['../views/exbtion/watch.vue'], resolve),
                    meta: { title: '查看展会' }
                },
                {
                    path: '/exbtion/banner/list',
                    component: resolve => require(['../views/exbtion/banner/list.vue'], resolve),
                    meta: { title: '展会轮播图列表' }
                },
                {
                    path: '/exbtion/ads/list',
                    component: resolve => require(['../views/exbtion/ads/list.vue'], resolve),
                    meta: { title: '展会主页广告' }
                },
                {
                    path: '/exbtion/ads/details',
                    component: resolve => require(['../views/exbtion/ads/details.vue'], resolve),
                    meta: { title: '展会详情广告' }
                },

                {
                    path: '/press',
                    component: resolve => require(['../views/press/press.vue'], resolve),
                    meta: { title: '印厂库分类列表' }
                },
                {
                    path: '/press/banner/list',
                    component: resolve => require(['../views/press/banner/list.vue'], resolve),
                    meta: { title: '印厂库轮播图列表' }
                },
                {
                    path: '/press/add',
                    component: resolve => require(['../views/press/add.vue'], resolve),
                    meta: { title: '新增印厂库分类' }
                },
                {
                    path: '/press/edit',
                    component: resolve => require(['../views/press/edit.vue'], resolve),
                    meta: { title: '编辑印厂库分类' }
                },
                {
                    path: '/topic/list',
                    component: resolve => require(['../views/topic/list.vue'], resolve),
                    meta: { title: '话题列表' }
                },
                {
                    path: '/topic/details',
                    component: resolve => require(['../views/topic/details.vue'], resolve),
                    meta: { title: '话题详情' }
                },
                {
                    path: '/topic/add',
                    component: resolve => require(['../views/topic/add.vue'], resolve),
                    meta: { title: '发表话题' }
                },
                {
                    path: '/device/category',
                    component: resolve => require(['../views/device/category/list.vue'], resolve),
                    meta: { title: '设备分类列表' }
                },
                {
                    path: '/device/category/add',
                    component: resolve => require(['../views/device/category/add.vue'], resolve),
                    meta: { title: '新增设备分类' }
                },
                {
                    path: '/device/category/edit',
                    component: resolve => require(['../views/device/category/edit.vue'], resolve),
                    meta: { title: '编辑设备分类' }
                },
                {
                    path: '/device/evaluate',
                    component: resolve => require(['../views/device/evaluate/list.vue'], resolve),
                    meta: { title: '设备评测列表' }
                },
                {
                    path: '/device/evaluate/add',
                    component: resolve => require(['../views/device/evaluate/add.vue'], resolve),
                    meta: { title: '新增设备评测' }
                },
                {
                    path: '/device/evaluate/edit',
                    component: resolve => require(['../views/device/evaluate/edit.vue'], resolve),
                    meta: { title: '编辑设备评测' }
                },
                {
                    path: '/device/evaluate/watch',
                    component: resolve => require(['../views/device/evaluate/watch.vue'], resolve),
                    meta: { title: '查看设备评测' }
                },
                {
                    path: '/device/evaluate/ads',
                    component: resolve => require(['../views/device/evaluate/ads.vue'], resolve),
                    meta: { title: '设备测试广告图' }
                },
                {
                    path: '/device/equipment/list',
                    component: resolve => require(['../views/device/equipment/list.vue'], resolve),
                    meta: { title: '设备列表' }
                },
                {
                    path: '/device/equipment/watch',
                    component: resolve => require(['../views/device/equipment/watch.vue'], resolve),
                    meta: { title: '查看设备' }
                },
                {
                    path: '/topic/edit',
                    component: resolve => require(['../views/topic/edit.vue'], resolve),
                    meta: { title: '编辑话题' }
                },
                {
                    path: '/order/index',
                    component: resolve => require(['../views/order/index.vue'], resolve),
                    meta: { title: '订单列表' }
                },
                {
                    path: '/order/info',
                    component: resolve => require(['../views/order/info.vue'], resolve),
                    meta: { title: '订单详情' }
                },
                {
                    path: '/order/sendGoods',
                    component: resolve => require(['../views/order/sendGoods.vue'], resolve),
                    meta: { title: '订单发货' }
                },
                {
                    path: '/check/publish/list',
                    component: resolve => require(['../views/check/publish/list.vue'], resolve),
                    meta: { title: '发布审核' }
                },
                {
                    path: '/check/publish/audited',
                    component: resolve => require(['../views/check/publish/audited.vue'], resolve),
                    meta: { title: '发布待审核列表' }
                },
                {
                    path: '/check/publish/reviewPass',
                    component: resolve => require(['../views/check/publish/reviewPass.vue'], resolve),
                    meta: { title: '发布审核通过列表' }
                },
                {
                    path: '/check/review/list',
                    component: resolve => require(['../views/check/review/list.vue'], resolve),
                    meta: { title: '评论审核' }
                },
                {
                    path: '/check/join/list',
                    component: resolve => require(['../views/check/join/list.vue'], resolve),
                    meta: { title: '加盟申请审核' }
                },
                {
                    path: '/check/join/details',
                    component: resolve => require(['../views/check/join/details.vue'], resolve),
                    meta: { title: '加盟申请详情' }
                },
                {
                    path: '/check/enterprise/list',
                    component: resolve => require(['../views/check/enterprise/list.vue'], resolve),
                    meta: { title: '企业认证审核' }
                },
                {
                    path: '/check/enterprise/details',
                    component: resolve => require(['../views/check/enterprise/details.vue'], resolve),
                    meta: { title: '企业认证详情' }
                },
                {
                    path: '/finance/finance',
                    component: resolve => require(['../views/finance/finance.vue'], resolve),
                    meta: { title: '财务列表' }
                },
                {
                    path: '/user',
                    component: resolve => require(['../views/user/list.vue'], resolve),
                    meta: { title: '用户管理' }
                },
                {
                    path: '/video',
                    component: resolve => require(['../views/video/list.vue'], resolve),
                    meta: { title: '视频列表' }
                },
                {
                    path: '/video/add',
                    component: resolve => require(['../views/video/add.vue'], resolve),
                    meta: { title: '发布视频' }
                },
                {
                    path: '/video/edit',
                    component: resolve => require(['../views/video/edit.vue'], resolve),
                    meta: { title: '编辑视频' }
                },
                {
                    path: '/goods/list',
                    component: resolve => require(['../views/goods/list.vue'], resolve),
                    meta: { title: '商品管理' }
                },
                {
                    path: '/goods/add',
                    component: resolve => require(['../views/goods/add.vue'], resolve),
                    meta: { title: '新增商品及规格' }
                },
                {
                    path: '/goods/new/select',
                    component: resolve => require(['../views/goods/select.vue'], resolve),
                    meta: { title: '商品详情' }
                },
                {
                    path: '/goods/edit',
                    component: resolve => require(['../views/goods/edit.vue'], resolve),
                    meta: { title: '商品编辑' }
                },
                {
                    path: '/goods/seckill',
                    component: resolve => require(['../views/goods/seckill.vue'], resolve),
                    meta: { title: '秒杀列表' }
                },
                {
                    path: '/goods/seckill/save',
                    component: resolve => require(['../views/goods/seckillSave.vue'], resolve),
                    meta: { title: '设置秒杀' }
                },
                // {
                //     path: '/goods/setSales',
                //     component: resolve => require(['../views/goods/sales.vue'], resolve),
                //     meta: { title: '设置商品销量' }
                // },
                {
                    path: '/news/list',
                    component: resolve => require(['../views/news/list.vue'], resolve),
                    meta: { title: '推荐资讯列表' }
                },
                {
                    path: '/news/banner/newList',
                    component: resolve => require(['../views/news/banner/newList.vue'], resolve),
                    meta: { title: '最新资讯轮播图列表' }
                },
                {
                    path: '/news/banner/reList',
                    component: resolve => require(['../views/news/banner/reList.vue'], resolve),
                    meta: { title: '推荐资讯轮播图列表' }
                },
                {
                    path: '/news/ads/list',
                    component: resolve => require(['../views/news/ads/list.vue'], resolve),
                    meta: { title: '资讯主页广告' }
                },
                {
                    path: '/news/ads/details',
                    component: resolve => require(['../views/news/ads/details.vue'], resolve),
                    meta: { title: '资讯详情广告' }
                },
                {
                    path: '/supply',
                    component: resolve => require(['../views/supply/list.vue'], resolve),
                    meta: { title: '供应管理' }
                },
                {
                    path: '/supply/details',
                    component: resolve => require(['../views/supply/details.vue'], resolve),
                    meta: { title: '供应详情' }
                },
                {
                    path: '/recruit/list',
                    component: resolve => require(['../views/recruit/list.vue'], resolve),
                    meta: { title: '招聘列表' }
                },
                {
                    path: '/recruit/banner',
                    component: resolve => require(['../views/recruit/banner.vue'], resolve),
                    meta: { title: '招聘轮播图' }
                },
                {
                    path: '/recruit/details',
                    component: resolve => require(['../views/recruit/details.vue'], resolve),
                    meta: { title: '招聘详情' }
                },
                {
                    path: '/mood',
                    component: resolve => require(['../views/mood/list.vue'], resolve),
                    meta: { title: '心情管理' }
                },
                {
                    path: '/mood/details',
                    component: resolve => require(['../views/mood/details.vue'], resolve),
                    meta: { title: '心情详情' }
                },
                {
                    path: '/Purchase',
                    component: resolve => require(['../views/Purchase/list.vue'], resolve),
                    meta: { title: '求购管理' }
                }, 
                {
                    path: '/Purchase/details',
                    component: resolve => require(['../views/Purchase/details.vue'], resolve),
                    meta: { title: '求购详情' }
                },
                {
                    path: '/appVersion',
                    component: resolve => require(['../views/appVersion/list.vue'], resolve),
                    meta: { title: 'APP版本管理' }
                },
                {
                    path: '/updateKey',
                    component: resolve => require(['../views/cardNum/index.vue'], resolve),
                    meta: { title: '管理员账号密码修改' }
                },
                {
                    path: '/company/list',
                    component: resolve => require(['../views/company/list.vue'], resolve),
                    meta: { title: '企业列表' }
                },
                {
                    path: '/company/detail',
                    component: resolve => require(['../views/company/detail.vue'], resolve),
                    meta: { title: '企业详情' }
                },
                {
                    path: '/nearbyYinC/list',
                    component: resolve => require(['../views/nearbyYinC/list.vue'], resolve),
                    meta: { title: '印刷厂列表' }
                },
                {
                    path: '/nearbyYinC/add',
                    component: resolve => require(['../views/nearbyYinC/add.vue'], resolve),
                    meta: { title: '新增印刷厂' }
                },
                {
                    path: '/nearbyYinC/detail',
                    component: resolve => require(['../views/nearbyYinC/detail.vue'], resolve),
                    meta: { title: '印刷厂详情查看' }
                },
                {
                    path: '/nearbyYinC/edit',
                    component: resolve => require(['../views/nearbyYinC/edit.vue'], resolve),
                    meta: { title: '编辑印刷厂' }
                },
                {
                    path: '/platform/list',
                    component: resolve => require(['../views/platform/list.vue'], resolve),
                    meta: { title: '平台推荐列表' }
                },
                {
                    path: '/platform/add',
                    component: resolve => require(['../views/platform/add.vue'], resolve),
                    meta: { title: '新增平台推荐' }
                },
                {
                    path: '/platform/detail',
                    component: resolve => require(['../views/platform/detail.vue'], resolve),
                    meta: { title: '平台推荐详情查看' }
                },
                {
                    path: '/platform/edit',
                    component: resolve => require(['../views/platform/edit.vue'], resolve),
                    meta: { title: '编辑平台推荐' }
                },
            ]
        },
        {
            path: '/staff',
            redirect: '/branch/substation',
            component: resolve => require(['../components/common/Home.vue'], resolve),
            meta: { title: '分站菜单' },
            children: [{
                    path: '/branch/substation',
                    component: resolve => require(['../views/branch/substation/list.vue'], resolve),
                    meta: { title: '城市指南文章' }
                }, {
                    path: '/branch/substation/select',
                    component: resolve => require(['../views/branch/substation/select.vue'], resolve),
                    meta: { title: '查看城市指南文章' }
                }, {
                    path: '/branch/substation/add',
                    component: resolve => require(['../views/branch/substation/add.vue'], resolve),
                    meta: { title: '新增城市指南文章' }
                }, {
                    path: '/branch/substation/edit',
                    component: resolve => require(['../views/branch/substation/add.vue'], resolve),
                    meta: { title: '编辑城市指南文章' }
                }, {
                    path: '/branch/activity',
                    component: resolve => require(['../views/branch/activity/list.vue'], resolve),
                    meta: { title: '活动列表' }
                }, {
                    path: '/branch/activity/select',
                    component: resolve => require(['../views/branch/activity/select.vue'], resolve),
                    meta: { title: '查看活动' }
                }, {
                    path: '/branch/activity/add',
                    component: resolve => require(['../views/branch/activity/add.vue'], resolve),
                    meta: { title: '新增活动' }
                }, {
                    path: '/branch/activity/edit',
                    component: resolve => require(['../views/branch/activity/add.vue'], resolve),
                    meta: { title: '编辑活动' }
                }, {
                    path: '/branch/activity/ads',
                    component: resolve => require(['../views/branch/activity/ads.vue'], resolve),
                    meta: { title: '活动详情广告位' }
                },
                {
                    path: '/branch/dynamic',
                    component: resolve => require(['../views/branch/dynamic/list.vue'], resolve),
                    meta: { title: '动态列表' }
                }, {
                    path: '/branch/dynamic/select',
                    component: resolve => require(['../views/branch/dynamic/select.vue'], resolve),
                    meta: { title: '查看动态' }
                }, {
                    path: '/branch/dynamic/add',
                    component: resolve => require(['../views/branch/dynamic/add.vue'], resolve),
                    meta: { title: '发布动态' }
                }, {
                    path: '/branch/dynamic/edit',
                    component: resolve => require(['../views/branch/dynamic/add.vue'], resolve),
                    meta: { title: '编辑动态' }
                },
                {
                    path: '/branch/dynamic/ads',
                    component: resolve => require(['../views/branch/dynamic/ads.vue'], resolve),
                    meta: { title: '动态详情广告位' }
                },
                {
                    path: '/branch/ads/people',
                    component: resolve => require(['../views/branch/ads/people.vue'], resolve),
                    meta: { title: '人物详情广告位' }
                },
                {
                    path: '/branch/ads/talk',
                    component: resolve => require(['../views/branch/ads/talk.vue'], resolve),
                    meta: { title: '访谈详情广告位' }
                },
                {
                    path: '/branch/city',
                    component: resolve => require(['../views/branch/city/list.vue'], resolve),
                    meta: { title: '分站城市信息' }
                }, {
                    path: '/branch/city/edit',
                    component: resolve => require(['../views/branch/city/edit.vue'], resolve),
                    meta: { title: '修改分站城市信息' }
                }, {
                    path: '/branch/mood',
                    component: resolve => require(['../views/branch/mood/list.vue'], resolve),
                    meta: { title: '心情管理' }
                },
                {
                    path: '/branch/mood/ads',
                    component: resolve => require(['../views/branch/mood/ads.vue'], resolve),
                    meta: { title: '心情详情广告位' }
                },
                {
                    path: '/branch/mood/select',
                    component: resolve => require(['../views/branch/mood/select.vue'], resolve),
                    meta: { title: '查看心情' }
                }, {
                    path: '/branch/thinkBuy',
                    component: resolve => require(['../views/branch/thinkBuy/list.vue'], resolve),
                    meta: { title: '求购管理' }
                }, {
                    path: '/branch/thinkBuy/select',
                    component: resolve => require(['../views/branch/thinkBuy/select.vue'], resolve),
                    meta: { title: '查看求购' }
                }, {
                    path: '/branch/supply',
                    component: resolve => require(['../views/branch/supply/list.vue'], resolve),
                    meta: { title: '供应管理' }
                },
                {
                    path: '/branch/factory',
                    component: resolve => require(['../views/branch/factory/list.vue'], resolve),
                    meta: { title: '印厂管理' }
                },  
                {
                    path: '/branch/device',
                    component: resolve => require(['../views/branch/device/list.vue'], resolve),
                    meta: { title: '设备管理' }
                },
                {
                    path: '/branch/recruit',
                    component: resolve => require(['../views/branch/recruit/list.vue'], resolve),
                    meta: { title: '招聘管理' }
                },
                {
                    path: '/branch/supply/select',
                    component: resolve => require(['../views/branch/supply/select.vue'], resolve),
                    meta: { title: '查看供应' }
                }, {
                    path: '/branch/used',
                    component: resolve => require(['../views/branch/used/list.vue'], resolve),
                    meta: { title: '二手管理' }
                }, {
                    path: '/branch/used/select',
                    component: resolve => require(['../views/branch/used/select.vue'], resolve),
                    meta: { title: '查看二手详情' }
                }, {
                    path: '/branch/used/add',
                    component: resolve => require(['../views/branch/used/add.vue'], resolve),
                    meta: { title: '发布二手' }
                }, {
                    path: '/branch/used/edit',
                    component: resolve => require(['../views/branch/used/edit.vue'], resolve),
                    meta: { title: '编辑二手' }
                },
                {
                    path: '/branch/used/ads',
                    component: resolve => require(['../views/branch/used/ads.vue'], resolve),
                    meta: { title: '二手详情广告位' }
                },
                {
                    path: '/branch/check',
                    component: resolve => require(['../views/branch/check/list.vue'], resolve),
                    meta: { title: '等待审核列表' }
                }, {
                    path: '/branch/checkNo',
                    component: resolve => require(['../views/branch/checkNo/list.vue'], resolve),
                    meta: { title: '不通过审核列表' }
                },
                {
                    path: '/press/productList',
                    component: resolve => require(['../views/press/productlist.vue'], resolve),
                    meta: { title: '印厂库列表' }
                },
                {
                    path: '/press/productWatch',
                    component: resolve => require(['../views/press/productwatch.vue'], resolve),
                    meta: { title: '印厂库列表' }
                },
                {
                    path: '/branch/swiper/index',
                    component: resolve => require(['../views/branch/swiper/index.vue'], resolve),
                    meta: { title: '分站首页轮播图' }
                },
                {
                    path: '/branch/swiper/recruit',
                    component: resolve => require(['../views/branch/swiper/recruit.vue'], resolve),
                    meta: { title: '分站招聘轮播图' }
                },
                {
                    path: '/branch/swiper/factory',
                    component: resolve => require(['../views/branch/swiper/factory.vue'], resolve),
                    meta: { title: '分站企业库轮播图' }
                },
                {
                    path: '/branch/ads/index',
                    component: resolve => require(['../views/branch/ads/index.vue'], resolve),
                    meta: { title: '分站首页广告位' }
                },
                {
                    path: '/branch/ads/activity',
                    component: resolve => require(['../views/branch/ads/activity.vue'], resolve),
                    meta: { title: '活动详情广告位' }
                },
                {
                    path: '/branch/ads/used',
                    component: resolve => require(['../views/branch/ads/used.vue'], resolve),
                    meta: { title: '二手详情广告位' }
                },
                {
                    path: '/branch/ads/dynamic',
                    component: resolve => require(['../views/branch/ads/dynamic.vue'], resolve),
                    meta: { title: '动态详情广告位' }
                },
                {
                    path: '/branch/ads/mood',
                    component: resolve => require(['../views/branch/ads/mood.vue'], resolve),
                    meta: { title: '心情详情广告位' }
                },
            ]

        },
        { path: '/404', component: resolve => require(['../components/page/404.vue'], resolve) },
        { path: '/403', component: resolve => require(['../components/page/403.vue'], resolve) },
        { path: '*', redirect: '/404' }
    ]
})